# RUN: llvm-mc -disassemble %s -triple=msp430 | FileCheck %s
0x0f 0x47                     # CHECK: mov r7, r15
0x2f 0x48                     # CHECK: mov @r8, r15
0x3f 0x48                     # CHECK: mov @r8+, r15
0x0f 0x43                     # CHECK: clr r15
0x08 0x57                     # CHECK: add r7, r8
0x28 0x57                     # CHECK: add @r7, r8
0x38 0x57                     # CHECK: add @r7+, r8
0x87 0x12                     # CHECK: call r7
0x00 0x47                     # CHECK: br r7
0x39 0xb2                     # CHECK: bit #8, r9

0xfe 0x3f                     # CHECK: jmp $-2
0xfe 0x23                     # CHECK: jne $-2

0x3f 0x40 0x2a 0x00           # CHECK: mov #42, r15
0x1f 0x48 0x2a 0x00           # CHECK: mov 42(r8), r15
0x1f 0x42 0x2a 0x00           # CHECK: mov &42, r15
0x1f 0x40 0x2a 0x00           # CHECK: mov 42, r15
0xb0 0x12 0x81 0x01           # CHECK: call #385
0x97 0x12 0x06 0x00           # CHECK: call 6(r7)
0xa7 0xb2 0x02 0x00           # CHECK: bit #4, 2(r7)
0xa9 0x57 0x08 0x00           # CHECK: add @r7, 8(r9)
0xb7 0xe7 0xfe 0xff           # CHECK: xor @r7+, -2(r7)

0xbf 0x40 0x2a 0x00 0x0c 0x00 # CHECK: mov #42, 12(r15)
0xb7 0xb0 0x22 0x00 0x02 0x00 # CHECK: bit #34, 2(r7)
0x9a 0xb9 0x10 0x00 0x08 0x00 # CHECK: bit 16(r9), 8(r10)
